home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcmag
/
v11n08
/
wprints.exe
/
WPRINC.EXE
/
WPRINT.RC
< prev
next >
Wrap
Text File
|
1992-02-13
|
3KB
|
69 lines
#include "windows.h"
#include "wprint.h"
WinPrintIcon ICON winprint.ico
AboutBox DIALOG 63, 78, 201, 74
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About WPrint..."
FONT 8, "Helv"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 72, 50, 50, 14
CTEXT "WPrint Version 1.00 for Windows 3.1", 101, 35, 9, 166, 8
CTEXT "Copyright ⌐ 1991 Philip B. Eskelin, Jr.", 102, 35, 25,166, 8
ICON "WinPrintIcon", -1, 9, 9, 18, 20
END
Settings DIALOG LOADONCALL MOVEABLE DISCARDABLE 14, 22, 188, 95
CAPTION "WPrint Settings"
FONT 8, "Helv"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_VISIBLE | DS_MODALFRAME | WS_POPUP
BEGIN
CONTROL "&OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 145, 6, 36, 14
CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 145, 24, 36, 14
CONTROL "Bitmap Scaling:", -1, "button", BS_GROUPBOX | WS_TABSTOP | WS_CHILD, 5, 29, 103, 57
CONTROL "&Fit To Page", IDD_FIT, "button", BS_AUTORADIOBUTTON | WS_TABSTOP | WS_CHILD, 10, 40, 94, 12
CONTROL "&Printer resolution", IDD_PRN_RES, "button",BS_AUTORADIOBUTTON | WS_TABSTOP | WS_CHILD, 10, 55, 87, 12
CONTROL "&Magnify by", IDD_MAG_BY, "button", BS_AUTORADIOBUTTON|WS_TABSTOP|WS_CHILD, 10, 70, 47, 12
CONTROL "", IDD_MAG_VALUE, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 60, 70, 14, 12
CONTROL "times.", 107, "static", SS_LEFT | WS_CHILD, 76, 73, 24, 8
CONTROL "Current Printer:", -1, "static", SS_LEFT | WS_CHILD, 5, 5, 85, 8
CONTROL " ", IDD_CUR_PRINTER, "static", SS_LEFT | WS_CHILD, 10, 15, 128, 8
CONTROL "P&rinter setup...", IDPRINTSETUP, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 124, 42, 58, 14
CONTROL "WinPrintIcon", -1, "static", SS_ICON | WS_CHILD, 144, 67, 13, 13
END
PRINTBOX DIALOG 6, 18, 127, 56
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WPrint"
FONT 8, "Helv"
BEGIN
LTEXT "Printing:", -1, 5, 5, 40, 8
LTEXT " ", IDD_FILETYPE, 54, 5, 73, 8
CTEXT " ", IDD_FILENAME, 0, 19, 127, 8
PUSHBUTTON "Cancel", IDCANCEL, 40, 37, 46, 14
END
WinPrintAccels ACCELERATORS
BEGIN
VK_F1 , IDM_ABOUT , NOINVERT , VIRTKEY
VK_F5 , IDM_SETTINGS, NOINVERT, VIRTKEY
VK_F6 , IDM_PRINT, NOINVERT, VIRTKEY
VK_F9 , IDM_FLUSH, NOINVERT, VIRTKEY
END
STRINGTABLE MOVEABLE DISCARDABLE
BEGIN
IDS_CLOCKS, "Too many clocks or timers"
IDS_INSTANCE, "Cannot run more that one instance"
IDS_NOALLOC, "Attempt to globally allocate memory failed"
IDS_NOLOCK, "Attempt to lock a memory handle failed"
IDS_NOFORMAT, "File format is not recognized as text or bitmap"
IDS_NOPRINT, "Error while attempting to print"
IDS_WININI, "Error in WIN.INI. Check Settings menu option"
IDS_ERRORBM, "Error drawing bitmap"
IDS_DRIVERERROR, "Error while attempting to access driver"
END